Yorba allows a few ways to install Shotwell a follows:

On Ubuntu, open the Ubuntu Software Center, and search Shotwell. This is probably not necessary as Shotwell comes pre-packaged with Ubuntu since 10.10.

You may also install from Yorba's PPA by adding it to your sources list:

$ sudo add-apt-repository ppa:yorba/ppa
$ sudo apt-get update
$ sudo apt-get install shotwell‍
You may also download a tarball of the latest stable release and build the source. Get the source here.

Building Shotwell from source tarball


If you are installing Shotwell 0.11.6 from the source tarball, you can install dependencies for Shotwell like this:
$ sudo apt-get install libgconf2-dev libgee-dev libgexiv2-dev libglib2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgtk2.0-dev libgudev-1.0-dev libexif-dev libgphoto2-2-dev libraw-dev libsoup2.4-dev libxml2-dev libsqlite3-dev m4 libunique-dev libwebkit-dev
If you're installing Shotwell 0.11.6 on Ubuntu 11.10 (Oneiric Ocelot), an additional step is required. The version of the Vala compiler that comes with Oneiric is 0.14.0, but Shotwell must be built with Vala 0.12.x. Vala 0.12.1 is available in the Oneiric repositories. To install it, simply add valac-0.12 to the dependency list above.

To use the Vala 0.12.1 compiler on Oneiric, set your VALAC environment variable to point to it. You can do this by entering:
$ export VALAC=valac-0.12
on the command line before building Shotwell.

Building Shotwell from git master


If you're building Shotwell directly from git master on Oneiric, you will need to install the following dependencies for Shotwell:
$ sudo apt-get install libgconf2-dev libgee-dev libgexiv2-dev libglib2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgtk-3-dev libgudev-1.0-dev libexif-dev libgphoto2-2-dev libraw-dev libsoup2.4-dev libxml2-dev libsqlite3-dev m4 libunique-3.0-dev libwebkitgtk-3.0-dev
Additionally, for those building Shotwell directly from git master on Oneiric, installation of the Vala 0.12.1 compiler is unnecessary; the current development snapshot of Shotwell builds with (and requires) Vala 0.15.x. You can install Vala 0.15.x from the Vala PPA.

Installing Vala Compiler:

$ sudo add-apt-repository ppa:vala-team/ppa
$ sudo apt-get update
$ sudo apt-get install valac-0.16

Checkout the source from Yorba's git repository:

$ cd path/to/your_source
$ git clone git://yorba.org/shotwell
Note:You may need to install github to be able to checkout the code. Then checkout the source by following above.
$ sudo apt-get install git

Build and Install


To build and install Shotwell, go to the directory where you unpacked or checked out the source code, and type the following commands:
$ ./configure
$ make
$ make install
By default, Shotwell will install in /usr/local. The configure script can customize the prefix directory. Run ./configure --help for instructions and other installation options. You need to execute make install as root (i.e. sudo make install) if installing to system directories.

Running Shotwell


Shotwell has a runtime dependency:
librsvg2-common (2.14.0)
You may execute Shotwell directly from its build directory by typing
$ ./shotwell
Also, if you plug a digital camera into your machine, Shotwell will be available as an option to automatically launch.
See the Shotwell user guide for more information about how to import, view, modify, and export your photos.

Uninstalling Shotwell

Run:
$ make uninstall
As with "make install", you may need root privileges to do this.


All information in this wiki was provided by Yorba's Installing Shotwell Page.